<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script src="../js/jquery.js"></script>
<script>
	$(document).ready(function(){
		$("#hide").click(function(){
			$("p").hide(500,function(){
				alert("Hidden");
			});
		});
		$("#show").click(function(){
			$("p").show(500,function(){
				alert("Shown");
			});
		});
		$("#toggle").click(function(){
			$("p").toggle(500,function(){
				alert("Toggled");
			});
		});
	});
</script>
<title>Hide and Show</title>
</head>
<body>
<p>Click "hide" to hide. Click "show" to show.</p>
<button id="hide" type="button">Hide</button>
<button id="show" type="button">Show</button>
<button id="toggle" type="button">Toggle</button>
</body>
</html>